package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/15
 * Description: 天气记录
 */

@Entity(value = "SundayWeatherRecord", noClassnameStored = true)
public class SundayWeatherRecord extends BaseMongoEntity {
    private String date;//天气记录日期
    private Long storeId;//仓库id
    private String storeName;//仓库名
    private String weather;//天气情况

    public SundayWeatherRecord() {
    }

    public SundayWeatherRecord(String date, Long storeId, String storeName, String weather) {
        this.date = date;
        this.storeId = storeId;
        this.storeName = storeName;
        this.weather = weather;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }
}
